﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EnvCheck.Models
{
    using EnvCheck.Utils;
    public class AppReqSatisfactionStatus : AppVersionRequirement
    {
        public int Id { get; set; }
        public string InstalledVersion
        {
            get;
            set;
        }
        public bool IsSatisfied
        {
            get
            {
                return VersionCompareHelper.IsVersionMatch(InstalledVersion, ExpectedVersion, VersionPolicyValue);
            }
        }

    }
}
